///*
// * Copyright 2007 Michał Baliński
// *
// * Licensed under the Apache License, Version 2.0 (the "License"); you may not
// * use this file except in compliance with the License. You may obtain a copy of
// * the License at
// *
// * http://www.apache.org/licenses/LICENSE-2.0
// *
// * Unless required by applicable law or agreed to in writing, software
// * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
// * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
// * License for the specific language governing permissions and limitations under
// * the License.
// */
//
//package pl.balon.gwt.diagrams.client.connection.data;
//
//import java.util.ArrayList;
//import java.util.Arrays;
//import java.util.LinkedList;
//import java.util.List;
//
///**
// * Represents bezier connection data (not only points on path, but also control
// * points).
// * @deprecated We can calculate control points through some points in the middle.
// * @author Michał Baliński (michal.balinski@gmail.com)
// */
//@Deprecated
//public class BezierConnectionData extends ConnectionData {
//
//	/**
//	 * List of control points defining connection shape.
//	 */
//	private List<Point> controlPoints = new ArrayList<Point>();
//
//	public BezierConnectionData() {
//
//	}
//
//	public BezierConnectionData(List<Point> points, List<Point> controlPoints){
//		super(points);
//		this.getPoints().addAll(controlPoints);
//	}
//
//	public BezierConnectionData(Point[] points, Point[] controlPoints){
//		this(Arrays.asList(points), Arrays.asList(controlPoints));
//	}
//
//
//	public List<Point> getControlPoints() {
//		List<Point> controlPoint =  new LinkedList<Point> ();
//		controlPoint.add(this.getPoints().get(2));
//		controlPoint.add(this.getPoints().get(3));
//		return controlPoint;
//	}
//
//
//
//}
